3.246 \(\int (d+e x)^2 \left (b x+c x^2\right )^3 \, dx\)

Optimal. Leaf size=127 \[ \frac{1}{4} b^3 d^2 x^4+\frac{1}{7} c x^7 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac{1}{6} b x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac{1}{5} b^2 d x^5 (2 b e+3 c d)+\frac{1}{8} c^2 e x^8 (3 b e+2 c d)+\frac{1}{9} c^3 e^2 x^9 \]

[Out]

(b^3*d^2*x^4)/4 + (b^2*d*(3*c*d + 2*b*e)*x^5)/5 + (b*(3*c^2*d^2 + 6*b*c*d*e + b^
2*e^2)*x^6)/6 + (c*(c^2*d^2 + 6*b*c*d*e + 3*b^2*e^2)*x^7)/7 + (c^2*e*(2*c*d + 3*
b*e)*x^8)/8 + (c^3*e^2*x^9)/9

_______________________________________________________________________________________

Rubi [A]  time = 0.318244, antiderivative size = 127, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105 \[ \frac{1}{4} b^3 d^2 x^4+\frac{1}{7} c x^7 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac{1}{6} b x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac{1}{5} b^2 d x^5 (2 b e+3 c d)+\frac{1}{8} c^2 e x^8 (3 b e+2 c d)+\frac{1}{9} c^3 e^2 x^9 \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x)^2*(b*x + c*x^2)^3,x]

[Out]

(b^3*d^2*x^4)/4 + (b^2*d*(3*c*d + 2*b*e)*x^5)/5 + (b*(3*c^2*d^2 + 6*b*c*d*e + b^
2*e^2)*x^6)/6 + (c*(c^2*d^2 + 6*b*c*d*e + 3*b^2*e^2)*x^7)/7 + (c^2*e*(2*c*d + 3*
b*e)*x^8)/8 + (c^3*e^2*x^9)/9

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 35.7597, size = 124, normalized size = 0.98 \[ \frac{b^{3} d^{2} x^{4}}{4} + \frac{b^{2} d x^{5} \left (2 b e + 3 c d\right )}{5} + \frac{b x^{6} \left (b^{2} e^{2} + 6 b c d e + 3 c^{2} d^{2}\right )}{6} + \frac{c^{3} e^{2} x^{9}}{9} + \frac{c^{2} e x^{8} \left (3 b e + 2 c d\right )}{8} + \frac{c x^{7} \left (3 b^{2} e^{2} + 6 b c d e + c^{2} d^{2}\right )}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x+d)**2*(c*x**2+b*x)**3,x)

[Out]

b**3*d**2*x**4/4 + b**2*d*x**5*(2*b*e + 3*c*d)/5 + b*x**6*(b**2*e**2 + 6*b*c*d*e
 + 3*c**2*d**2)/6 + c**3*e**2*x**9/9 + c**2*e*x**8*(3*b*e + 2*c*d)/8 + c*x**7*(3
*b**2*e**2 + 6*b*c*d*e + c**2*d**2)/7

_______________________________________________________________________________________

Mathematica [A]  time = 0.0402993, size = 127, normalized size = 1. \[ \frac{1}{4} b^3 d^2 x^4+\frac{1}{7} c x^7 \left (3 b^2 e^2+6 b c d e+c^2 d^2\right )+\frac{1}{6} b x^6 \left (b^2 e^2+6 b c d e+3 c^2 d^2\right )+\frac{1}{5} b^2 d x^5 (2 b e+3 c d)+\frac{1}{8} c^2 e x^8 (3 b e+2 c d)+\frac{1}{9} c^3 e^2 x^9 \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x)^2*(b*x + c*x^2)^3,x]

[Out]

(b^3*d^2*x^4)/4 + (b^2*d*(3*c*d + 2*b*e)*x^5)/5 + (b*(3*c^2*d^2 + 6*b*c*d*e + b^
2*e^2)*x^6)/6 + (c*(c^2*d^2 + 6*b*c*d*e + 3*b^2*e^2)*x^7)/7 + (c^2*e*(2*c*d + 3*
b*e)*x^8)/8 + (c^3*e^2*x^9)/9

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 128, normalized size = 1. \[{\frac{{c}^{3}{e}^{2}{x}^{9}}{9}}+{\frac{ \left ( 3\,{e}^{2}b{c}^{2}+2\,de{c}^{3} \right ){x}^{8}}{8}}+{\frac{ \left ( 3\,{e}^{2}{b}^{2}c+6\,deb{c}^{2}+{d}^{2}{c}^{3} \right ){x}^{7}}{7}}+{\frac{ \left ({b}^{3}{e}^{2}+6\,{b}^{2}cde+3\,{d}^{2}b{c}^{2} \right ){x}^{6}}{6}}+{\frac{ \left ( 2\,de{b}^{3}+3\,{d}^{2}{b}^{2}c \right ){x}^{5}}{5}}+{\frac{{b}^{3}{d}^{2}{x}^{4}}{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x+d)^2*(c*x^2+b*x)^3,x)

[Out]

1/9*c^3*e^2*x^9+1/8*(3*b*c^2*e^2+2*c^3*d*e)*x^8+1/7*(3*b^2*c*e^2+6*b*c^2*d*e+c^3
*d^2)*x^7+1/6*(b^3*e^2+6*b^2*c*d*e+3*b*c^2*d^2)*x^6+1/5*(2*b^3*d*e+3*b^2*c*d^2)*
x^5+1/4*b^3*d^2*x^4

_______________________________________________________________________________________

Maxima [A]  time = 0.686054, size = 171, normalized size = 1.35 \[ \frac{1}{9} \, c^{3} e^{2} x^{9} + \frac{1}{4} \, b^{3} d^{2} x^{4} + \frac{1}{8} \,{\left (2 \, c^{3} d e + 3 \, b c^{2} e^{2}\right )} x^{8} + \frac{1}{7} \,{\left (c^{3} d^{2} + 6 \, b c^{2} d e + 3 \, b^{2} c e^{2}\right )} x^{7} + \frac{1}{6} \,{\left (3 \, b c^{2} d^{2} + 6 \, b^{2} c d e + b^{3} e^{2}\right )} x^{6} + \frac{1}{5} \,{\left (3 \, b^{2} c d^{2} + 2 \, b^{3} d e\right )} x^{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x)^3*(e*x + d)^2,x, algorithm="maxima")

[Out]

1/9*c^3*e^2*x^9 + 1/4*b^3*d^2*x^4 + 1/8*(2*c^3*d*e + 3*b*c^2*e^2)*x^8 + 1/7*(c^3
*d^2 + 6*b*c^2*d*e + 3*b^2*c*e^2)*x^7 + 1/6*(3*b*c^2*d^2 + 6*b^2*c*d*e + b^3*e^2
)*x^6 + 1/5*(3*b^2*c*d^2 + 2*b^3*d*e)*x^5

_______________________________________________________________________________________

Fricas [A]  time = 0.212396, size = 1, normalized size = 0.01 \[ \frac{1}{9} x^{9} e^{2} c^{3} + \frac{1}{4} x^{8} e d c^{3} + \frac{3}{8} x^{8} e^{2} c^{2} b + \frac{1}{7} x^{7} d^{2} c^{3} + \frac{6}{7} x^{7} e d c^{2} b + \frac{3}{7} x^{7} e^{2} c b^{2} + \frac{1}{2} x^{6} d^{2} c^{2} b + x^{6} e d c b^{2} + \frac{1}{6} x^{6} e^{2} b^{3} + \frac{3}{5} x^{5} d^{2} c b^{2} + \frac{2}{5} x^{5} e d b^{3} + \frac{1}{4} x^{4} d^{2} b^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x)^3*(e*x + d)^2,x, algorithm="fricas")

[Out]

1/9*x^9*e^2*c^3 + 1/4*x^8*e*d*c^3 + 3/8*x^8*e^2*c^2*b + 1/7*x^7*d^2*c^3 + 6/7*x^
7*e*d*c^2*b + 3/7*x^7*e^2*c*b^2 + 1/2*x^6*d^2*c^2*b + x^6*e*d*c*b^2 + 1/6*x^6*e^
2*b^3 + 3/5*x^5*d^2*c*b^2 + 2/5*x^5*e*d*b^3 + 1/4*x^4*d^2*b^3

_______________________________________________________________________________________

Sympy [A]  time = 0.175744, size = 138, normalized size = 1.09 \[ \frac{b^{3} d^{2} x^{4}}{4} + \frac{c^{3} e^{2} x^{9}}{9} + x^{8} \left (\frac{3 b c^{2} e^{2}}{8} + \frac{c^{3} d e}{4}\right ) + x^{7} \left (\frac{3 b^{2} c e^{2}}{7} + \frac{6 b c^{2} d e}{7} + \frac{c^{3} d^{2}}{7}\right ) + x^{6} \left (\frac{b^{3} e^{2}}{6} + b^{2} c d e + \frac{b c^{2} d^{2}}{2}\right ) + x^{5} \left (\frac{2 b^{3} d e}{5} + \frac{3 b^{2} c d^{2}}{5}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x+d)**2*(c*x**2+b*x)**3,x)

[Out]

b**3*d**2*x**4/4 + c**3*e**2*x**9/9 + x**8*(3*b*c**2*e**2/8 + c**3*d*e/4) + x**7
*(3*b**2*c*e**2/7 + 6*b*c**2*d*e/7 + c**3*d**2/7) + x**6*(b**3*e**2/6 + b**2*c*d
*e + b*c**2*d**2/2) + x**5*(2*b**3*d*e/5 + 3*b**2*c*d**2/5)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.209657, size = 181, normalized size = 1.43 \[ \frac{1}{9} \, c^{3} x^{9} e^{2} + \frac{1}{4} \, c^{3} d x^{8} e + \frac{1}{7} \, c^{3} d^{2} x^{7} + \frac{3}{8} \, b c^{2} x^{8} e^{2} + \frac{6}{7} \, b c^{2} d x^{7} e + \frac{1}{2} \, b c^{2} d^{2} x^{6} + \frac{3}{7} \, b^{2} c x^{7} e^{2} + b^{2} c d x^{6} e + \frac{3}{5} \, b^{2} c d^{2} x^{5} + \frac{1}{6} \, b^{3} x^{6} e^{2} + \frac{2}{5} \, b^{3} d x^{5} e + \frac{1}{4} \, b^{3} d^{2} x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + b*x)^3*(e*x + d)^2,x, algorithm="giac")

[Out]

1/9*c^3*x^9*e^2 + 1/4*c^3*d*x^8*e + 1/7*c^3*d^2*x^7 + 3/8*b*c^2*x^8*e^2 + 6/7*b*
c^2*d*x^7*e + 1/2*b*c^2*d^2*x^6 + 3/7*b^2*c*x^7*e^2 + b^2*c*d*x^6*e + 3/5*b^2*c*
d^2*x^5 + 1/6*b^3*x^6*e^2 + 2/5*b^3*d*x^5*e + 1/4*b^3*d^2*x^4